package com.zx.platform.zanadu.manager.util;

public enum CourseBasicStatus {
	SAVE("保存草稿",1),
	SUB_TO_SCHOOL("提交至院校",2),
	DISTRIBUTE_TO_TEACHER("分配给教师",3),
	SUB_TO_PLATFORM("提交至平台",4),
	NOPASS("审批未通过",5),
	PASS("审批通过",6),
	CANCLE("作废",7),
	DELETE("删除",7)
	;
	
	//成员变量
	private String name;
	private Integer index;
	
	private CourseBasicStatus(String name,Integer index) {
		this.name = name;
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}
	
	@Override
	public String toString() {
		return this.index+"_"+this.name;
	}
	
}
